from CONN import DatabaseConnection

with DatabaseConnection('python_test') as db:
    select_list=db.select('select * from student where age>21')
    print("查询结果:")
    for i in select_list:
        print(i)